Depending on the following example, the structure will
be explained:
<?xml version="1.0" encoding="UTF-8" ?>
<Mac-HaBu>
<List>
<Line>
<Number>0001111</Number>
<Customer>85000</Customer>
<Name>Mustermann</Name>
<ZIP>88888</ZIP>
<City>Musterstadt</City>
<State>C</State>
<Created>03.11.2009</Created>
<Valid>03.11.2009</Valid>
<Positions>
<Line>
<Quantity>1</Quantity>
<Discount>0</Discount>
<Tax key>M19</Tax key>
<Gross>100,00</Gross>
<Number>100105</Number>
<Text>Mac-HaBu Gold</Text>
<Text1>Name: Mustermann</Text1>
<Text2>Code: ??????????</Text2>
</Line>
</Positions>
</Line>
</List>
</Mac-HaBu>
The tags have following meaning:
- List
This tag describes the list-area. The prolog,
created by the export, is not used. Data always entered in the current
clients and period.
- Line
Hereby, an offer is marked. This corresponds to
a line in the list on the screen.
- Number
If a number of a standard-offer is entered
here, the values from the standard-offer
will be used. If another number is given it will be used as offer
number. If this tag is not specified, the offer gets the next
available number.
- Customer
Here, an available customer-number must be
declared. The data, available in this personal-account are used, if
they are not defined by the import.
- Name, ZIP, City...
The customer's address will be entered by these
tags. The names correspond to the list-title.
- Net
If "X" is entered, the corresponding option will be activated in the
offer.
- State
The defined action starts after the import.
- C (Created)
The offer will be read.
- P (printed)
The offer will be printed, too.
- I (Invoice)
After printing, an invoice with the values
from the offer will be created.
- Created, Valid
Here, you enter the creation and valid date.
- Discount
This tag describes the total discount for the
offer.
- Positions
This tag describes the list of articles.
- Line
This represents one article.
- Quantity
Hereby, you enter the quantity for the article.
- Number
This is the item number of the importing
article. It must exist in this program.
- Discount
This tag describes the discount for one
article.
- Gross / Net
Depending on the article-type, the gross or net
price must be entered. If this value is not imported, the value in the
article is used.
- Tax-key
If another tax-key, as entered in the article
should be used, you can enter it here.
- Text
If an individual text should be used, it must
be entered here.
- Text1, Text2, Text3
Depending on the article-definition, up to
three additional texts can be used.